home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1998-05-21 | 4.2 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| Emacs Compiled Lisp (other/emacsCompiledLisp)
| magic
| Unsupported |
100%
| file
| Emacs/XEmacs v20 byte-compiled Lisp data
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| Emacs/XEmacs byte-compiled Lisp (generic)
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 54 68 75 20 4a | 61 6e 20 32 32 20 31 34 |on Thu J|an 22 14|
|00000040| 3a 34 33 3a 33 35 20 31 | 39 39 38 0a 3b 3b 3b 20 |:43:35 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 78 65 | 6d 61 63 73 2d 32 30 2e |emacs/xe|macs-20.|
|00000090| 33 2f 6c 69 73 70 2f 65 | 6c 65 63 74 72 69 63 2f |3/lisp/e|lectric/|
|000000a0| 61 75 74 6f 2d 61 75 74 | 6f 6c 6f 61 64 73 2e 65 |auto-aut|oloads.e|
|000000b0| 6c 0a 3b 3b 3b 20 65 6d | 61 63 73 20 76 65 72 73 |l.;;; em|acs vers|
|000000c0| 69 6f 6e 20 32 30 2e 33 | 20 22 56 61 74 69 63 61 |ion 20.3| "Vatica|
|000000d0| 6e 20 43 69 74 79 22 20 | 58 45 6d 61 63 73 20 20 |n City" |XEmacs |
|000000e0| 4c 75 63 69 64 2e 0a 3b | 3b 3b 20 62 79 74 65 63 |Lucid..;|;; bytec|
|000000f0| 6f 6d 70 20 76 65 72 73 | 69 6f 6e 20 32 2e 32 35 |omp vers|ion 2.25|
|00000100| 20 58 45 6d 61 63 73 3b | 20 32 32 2d 4d 61 72 2d | XEmacs;| 22-Mar-|
|00000110| 39 36 2e 0a 3b 3b 3b 20 | 6f 70 74 69 6d 69 7a 61 |96..;;; |optimiza|
|00000120| 74 69 6f 6e 20 69 73 20 | 6f 6e 2e 0a 3b 3b 3b 20 |tion is |on..;;; |
|00000130| 74 68 69 73 20 66 69 6c | 65 20 75 73 65 73 20 6f |this fil|e uses o|
|00000140| 70 63 6f 64 65 73 20 77 | 68 69 63 68 20 64 6f 20 |pcodes w|hich do |
|00000150| 6e 6f 74 20 65 78 69 73 | 74 20 69 6e 20 45 6d 61 |not exis|t in Ema|
|00000160| 63 73 20 31 39 2e 0a 0a | 28 69 66 20 28 61 6e 64 |cs 19...|(if (and|
|00000170| 20 28 62 6f 75 6e 64 70 | 20 27 65 6d 61 63 73 2d | (boundp| 'emacs-|
|00000180| 76 65 72 73 69 6f 6e 29 | 0a 09 20 28 6f 72 20 28 |version)|.. (or (|
|00000190| 61 6e 64 20 28 62 6f 75 | 6e 64 70 20 27 65 70 6f |and (bou|ndp 'epo|
|000001a0| 63 68 3a 3a 76 65 72 73 | 69 6f 6e 29 20 65 70 6f |ch::vers|ion) epo|
|000001b0| 63 68 3a 3a 76 65 72 73 | 69 6f 6e 29 0a 09 20 20 |ch::vers|ion).. |
|000001c0| 20 20 20 28 73 74 72 69 | 6e 67 2d 6c 65 73 73 70 | (stri|ng-lessp|
|000001d0| 20 65 6d 61 63 73 2d 76 | 65 72 73 69 6f 6e 20 22 | emacs-v|ersion "|
|000001e0| 32 30 22 29 29 29 0a 20 | 20 20 20 28 65 72 72 6f |20"))). | (erro|
|000001f0| 72 20 22 60 61 75 74 6f | 2d 61 75 74 6f 6c 6f 61 |r "`auto|-autoloa|
|00000200| 64 73 2e 65 6c 27 20 77 | 61 73 20 63 6f 6d 70 69 |ds.el' w|as compi|
|00000210| 6c 65 64 20 66 6f 72 20 | 45 6d 61 63 73 20 32 30 |led for |Emacs 20|
|00000220| 22 29 29 0a 0a 28 6f 72 | 20 28 62 6f 75 6e 64 70 |"))..(or| (boundp|
|00000230| 20 27 63 75 72 72 65 6e | 74 2d 6c 6f 61 64 2d 6c | 'curren|t-load-l|
|00000240| 69 73 74 29 20 28 73 65 | 74 71 20 63 75 72 72 65 |ist) (se|tq curre|
|00000250| 6e 74 2d 6c 6f 61 64 2d | 6c 69 73 74 20 6e 69 6c |nt-load-|list nil|
|00000260| 29 29 0a 0a 0a 28 62 79 | 74 65 2d 63 6f 64 65 20 |))...(by|te-code |
|00000270| 22 c0 c1 21 ab 84 c2 c3 | 21 88 c0 87 22 20 5b 66 |"..!....|!..." [f|
|00000280| 65 61 74 75 72 65 70 20 | 65 6c 65 63 74 72 69 63 |eaturep |electric|
|00000290| 2d 61 75 74 6f 6c 6f 61 | 64 73 20 65 72 72 6f 72 |-autoloa|ds error|
|000002a0| 20 22 41 6c 72 65 61 64 | 79 20 6c 6f 61 64 65 64 | "Alread|y loaded|
|000002b0| 22 5d 20 32 29 0a 23 40 | 38 37 36 20 50 6f 70 73 |"] 2).#@|876 Pops|
|000002c0| 20 75 70 20 61 20 62 75 | 66 66 65 72 20 64 65 73 | up a bu|ffer des|
|000002d0| 63 72 69 62 69 6e 67 20 | 74 68 65 20 73 65 74 20 |cribing |the set |
|000002e0| 6f 66 20 45 6d 61 63 73 | 20 62 75 66 66 65 72 73 |of Emacs| buffers|
|000002f0| 2e 0a 56 61 67 75 65 6c | 79 20 6c 69 6b 65 20 49 |..Vaguel|y like I|
|00000300| 54 53 20 6c 75 6e 61 72 | 20 73 65 6c 65 63 74 20 |TS lunar| select |
|00000310| 62 75 66 66 65 72 3b 20 | 63 6f 6d 62 69 6e 69 6e |buffer; |combinin|
|00000320| 67 20 74 79 70 65 6f 75 | 74 6f 69 64 20 62 75 66 |g typeou|toid buf|
|00000330| 66 65 72 0a 6c 69 73 74 | 69 6e 67 20 77 69 74 68 |fer.list|ing with|
|00000340| 20 6d 65 6e 75 6f 69 64 | 20 62 75 66 66 65 72 20 | menuoid| buffer |
|00000350| 73 65 6c 65 63 74 69 6f | 6e 2e 0a 0a 49 66 20 74 |selectio|n...If t|
|00000360| 68 65 20 76 65 72 79 20 | 6e 65 78 74 20 63 68 61 |he very |next cha|
|00000370| 72 61 63 74 65 72 20 74 | 79 70 65 64 20 69 73 20 |racter t|yped is |
|00000380| 61 20 73 70 61 63 65 20 | 74 68 65 6e 20 74 68 65 |a space |then the|
|00000390| 20 62 75 66 66 65 72 20 | 6c 69 73 74 0a 77 69 6e | buffer |list.win|
|000003a0| 64 6f 77 20 64 69 73 61 | 70 70 65 61 72 73 2e 20 |dow disa|ppears. |
|000003b0| 20 4f 74 68 65 72 77 69 | 73 65 2c 20 6f 6e 65 20 | Otherwi|se, one |
|000003c0| 6d 61 79 20 6d 6f 76 65 | 20 61 72 6f 75 6e 64 20 |may move| around |
|000003d0| 69 6e 20 74 68 65 20 62 | 75 66 66 65 72 20 6c 69 |in the b|uffer li|
|000003e0| 73 74 0a 77 69 6e 64 6f | 77 2c 20 6d 61 72 6b 69 |st.windo|w, marki|
|000003f0| 6e 67 20 62 75 66 66 65 | 72 73 20 74 6f 20 62 65 |ng buffe|rs to be|
|00000400| 20 73 65 6c 65 63 74 65 | 64 2c 20 73 61 76 65 64 | selecte|d, saved|
|00000410| 20 6f 72 20 64 65 6c 65 | 74 65 64 2e 0a 0a 54 6f | or dele|ted...To|
|00000420| 20 65 78 69 74 20 61 6e | 64 20 73 65 6c 65 63 74 | exit an|d select|
|00000430| 20 61 20 6e 65 77 20 62 | 75 66 66 65 72 2c 20 74 | a new b|uffer, t|
|00000440| 79 70 65 20 61 20 73 70 | 61 63 65 20 77 68 65 6e |ype a sp|ace when|
|00000450| 20 74 68 65 20 63 75 72 | 73 6f 72 20 69 73 20 6f | the cur|sor is o|
|00000460| 6e 0a 74 68 65 20 61 70 | 70 72 6f 70 72 69 61 74 |n.the ap|propriat|
|00000470| 65 20 6c 69 6e 65 20 6f | 66 20 74 68 65 20 62 75 |e line o|f the bu|
|00000480| 66 66 65 72 2d 6c 69 73 | 74 20 77 69 6e 64 6f 77 |ffer-lis|t window|
|00000490| 2e 20 20 4f 74 68 65 72 | 20 63 6f 6d 6d 61 6e 64 |. Other| command|
|000004a0| 73 20 61 72 65 0a 6d 75 | 63 68 20 6c 69 6b 65 20 |s are.mu|ch like |
|000004b0| 74 68 6f 73 65 20 6f 66 | 20 62 75 66 66 65 72 2d |those of| buffer-|
|000004c0| 6d 65 6e 75 2d 6d 6f 64 | 65 2e 0a 0a 43 61 6c 6c |menu-mod|e...Call|
|000004d0| 73 20 76 61 6c 75 65 20 | 6f 66 20 60 65 6c 65 63 |s value |of `elec|
|000004e0| 74 72 69 63 2d 62 75 66 | 66 65 72 2d 6d 65 6e 75 |tric-buf|fer-menu|
|000004f0| 2d 6d 6f 64 65 2d 68 6f | 6f 6b 27 20 6f 6e 20 65 |-mode-ho|ok' on e|
|00000500| 6e 74 72 79 20 69 66 20 | 6e 6f 6e 2d 6e 69 6c 2e |ntry if |non-nil.|
|00000510| 0a 0a 4e 6f 6e 2d 6e 75 | 6c 6c 20 6f 70 74 69 6f |..Non-nu|ll optio|
|00000520| 6e 61 6c 20 61 72 67 20 | 46 49 4c 45 53 2d 4f 4e |nal arg |FILES-ON|
|00000530| 4c 59 20 6d 65 61 6e 73 | 20 6d 65 6e 74 69 6f 6e |LY means| mention|
|00000540| 20 6f 6e 6c 79 20 66 69 | 6c 65 20 62 75 66 66 65 | only fi|le buffe|
|00000550| 72 73 2e 0a 57 68 65 6e | 20 63 61 6c 6c 65 64 20 |rs..When| called |
|00000560| 66 72 6f 6d 20 4c 69 73 | 70 20 63 6f 64 65 2c 20 |from Lis|p code, |
|00000570| 46 49 4c 45 53 2d 4f 4e | 4c 59 20 6d 61 79 20 62 |FILES-ON|LY may b|
|00000580| 65 20 61 20 72 65 67 75 | 6c 61 72 20 65 78 70 72 |e a regu|lar expr|
|00000590| 65 73 73 69 6f 6e 2c 0a | 69 6e 20 77 68 69 63 68 |ession,.|in which|
|000005a0| 20 63 61 73 65 20 6f 6e | 6c 79 20 62 75 66 66 65 | case on|ly buffe|
|000005b0| 72 73 20 77 68 6f 73 65 | 20 6e 61 6d 65 73 20 6d |rs whose| names m|
|000005c0| 61 74 63 68 20 74 68 61 | 74 20 65 78 70 72 65 73 |atch tha|t expres|
|000005d0| 73 69 6f 6e 20 61 72 65 | 20 6c 69 73 74 65 64 2c |sion are| listed,|
|000005e0| 0a 6f 72 20 61 6e 20 61 | 72 62 69 74 72 61 72 79 |.or an a|rbitrary|
|000005f0| 20 70 72 65 64 69 63 61 | 74 65 20 66 75 6e 63 74 | predica|te funct|
|00000600| 69 6f 6e 2e 0a 0a 5c 7b | 65 6c 65 63 74 72 69 63 |ion...\{|electric|
|00000610| 2d 62 75 66 66 65 72 2d | 6d 65 6e 75 2d 6d 6f 64 |-buffer-|menu-mod|
|00000620| 65 2d 6d 61 70 7d 1f 0a | 28 61 75 74 6f 6c 6f 61 |e-map}..|(autoloa|
|00000630| 64 20 27 65 6c 65 63 74 | 72 69 63 2d 62 75 66 66 |d 'elect|ric-buff|
|00000640| 65 72 2d 6c 69 73 74 20 | 22 65 62 75 66 66 2d 6d |er-list |"ebuff-m|
|00000650| 65 6e 75 22 20 27 28 23 | 24 20 2e 20 37 30 30 29 |enu" '(#|$ . 700)|
|00000660| 20 74 20 6e 69 6c 29 0a | 23 40 31 33 32 20 45 64 | t nil).|#@132 Ed|
|00000670| 69 74 20 63 75 72 72 65 | 6e 74 20 68 69 73 74 6f |it curre|nt histo|
|00000680| 72 79 20 6c 69 6e 65 20 | 69 6e 20 6d 69 6e 69 62 |ry line |in minib|
|00000690| 75 66 66 65 72 20 61 6e | 64 20 65 78 65 63 75 74 |uffer an|d execut|
|000006a0| 65 20 72 65 73 75 6c 74 | 2e 0a 57 69 74 68 20 70 |e result|..With p|
|000006b0| 72 65 66 69 78 20 61 72 | 67 20 4e 4f 43 4f 4e 46 |refix ar|g NOCONF|
|000006c0| 49 52 4d 2c 20 65 78 65 | 63 75 74 65 20 63 75 72 |IRM, exe|cute cur|
|000006d0| 72 65 6e 74 20 6c 69 6e | 65 20 61 73 2d 69 73 20 |rent lin|e as-is |
|000006e0| 77 69 74 68 6f 75 74 20 | 65 64 69 74 69 6e 67 2e |without |editing.|
|000006f0| 1f 0a 28 61 75 74 6f 6c | 6f 61 64 20 27 45 6c 65 |..(autol|oad 'Ele|
|00000700| 63 74 72 69 63 2d 63 6f | 6d 6d 61 6e 64 2d 68 69 |ctric-co|mmand-hi|
|00000710| 73 74 6f 72 79 2d 72 65 | 64 6f 2d 65 78 70 72 65 |story-re|do-expre|
|00000720| 73 73 69 6f 6e 20 22 65 | 63 68 69 73 74 6f 72 79 |ssion "e|chistory|
|00000730| 22 20 27 28 23 24 20 2e | 20 31 36 34 36 29 20 74 |" '(#$ .| 1646) t|
|00000740| 20 6e 69 6c 29 0a 23 40 | 38 34 33 20 5c 3c 65 6c | nil).#@|843 \<el|
|00000750| 65 63 74 72 69 63 2d 68 | 69 73 74 6f 72 79 2d 6d |ectric-h|istory-m|
|00000760| 61 70 3e 4d 61 6a 6f 72 | 20 6d 6f 64 65 20 66 6f |ap>Major| mode fo|
|00000770| 72 20 65 78 61 6d 69 6e | 69 6e 67 20 61 6e 64 20 |r examin|ing and |
|00000780| 72 65 64 6f 69 6e 67 20 | 63 6f 6d 6d 61 6e 64 73 |redoing |commands|
|00000790| 20 66 72 6f 6d 20 60 63 | 6f 6d 6d 61 6e 64 2d 68 | from `c|ommand-h|
|000007a0| 69 73 74 6f 72 79 27 2e | 0a 54 68 69 73 20 70 6f |istory'.|.This po|
|000007b0| 70 73 20 75 70 20 61 20 | 77 69 6e 64 6f 77 20 77 |ps up a |window w|
|000007c0| 69 74 68 20 74 68 65 20 | 43 6f 6d 6d 61 6e 64 20 |ith the |Command |
|000007d0| 48 69 73 74 6f 72 79 20 | 6c 69 73 74 69 6e 67 2e |History |listing.|
|000007e0| 0a 54 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 63 |.The num|ber of c|
|000007f0| 6f 6d 6d 61 6e 64 20 6c | 69 73 74 65 64 20 69 73 |ommand l|isted is|
|00000800| 20 63 6f 6e 74 72 6f 6c | 6c 65 64 20 62 79 20 60 | control|led by `|
|00000810| 6c 69 73 74 2d 63 6f 6d | 6d 61 6e 64 2d 68 69 73 |list-com|mand-his|
|00000820| 74 6f 72 79 2d 6d 61 78 | 27 2e 0a 54 68 65 20 63 |tory-max|'..The c|
|00000830| 6f 6d 6d 61 6e 64 20 68 | 69 73 74 6f 72 79 20 69 |ommand h|istory i|
|00000840| 73 20 66 69 6c 74 65 72 | 65 64 20 62 79 20 60 6c |s filter|ed by `l|
|00000850| 69 73 74 2d 63 6f 6d 6d | 61 6e 64 2d 68 69 73 74 |ist-comm|and-hist|
|00000860| 6f 72 79 2d 66 69 6c 74 | 65 72 27 20 69 66 20 6e |ory-filt|er' if n|
|00000870| 6f 6e 2d 6e 69 6c 2e 0a | 43 6f 6d 62 69 6e 65 73 |on-nil..|Combines|
|00000880| 20 74 79 70 65 6f 75 74 | 20 43 6f 6d 6d 61 6e 64 | typeout| Command|
|00000890| 20 48 69 73 74 6f 72 79 | 20 6c 69 73 74 20 77 69 | History| list wi|
|000008a0| 6e 64 6f 77 20 77 69 74 | 68 20 6d 65 6e 75 20 6c |ndow wit|h menu l|
|000008b0| 69 6b 65 20 73 65 6c 65 | 63 74 69 6f 6e 0a 6f 66 |ike sele|ction.of|
|000008c0| 20 61 6e 20 65 78 70 72 | 65 73 73 69 6f 6e 20 66 | an expr|ession f|
|000008d0| 72 6f 6d 20 74 68 65 20 | 68 69 73 74 6f 72 79 20 |rom the |history |
|000008e0| 66 6f 72 20 72 65 2d 65 | 76 61 6c 75 61 74 69 6f |for re-e|valuatio|
|000008f0| 6e 20 69 6e 20 74 68 65 | 20 2a 6f 72 69 67 69 6e |n in the| *origin|
|00000900| 61 6c 2a 20 62 75 66 66 | 65 72 2e 0a 0a 54 68 65 |al* buff|er...The|
|00000910| 20 68 69 73 74 6f 72 79 | 20 64 69 73 70 6c 61 79 | history| display|
|00000920| 65 64 20 69 73 20 66 69 | 6c 74 65 72 65 64 20 62 |ed is fi|ltered b|
|00000930| 79 20 60 6c 69 73 74 2d | 63 6f 6d 6d 61 6e 64 2d |y `list-|command-|
|00000940| 68 69 73 74 6f 72 79 2d | 66 69 6c 74 65 72 27 20 |history-|filter' |
|00000950| 69 66 20 6e 6f 6e 2d 6e | 69 6c 2e 0a 0a 4c 69 6b |if non-n|il...Lik|
|00000960| 65 20 45 6d 61 63 73 2d | 4c 69 73 70 20 6d 6f 64 |e Emacs-|Lisp mod|
|00000970| 65 20 65 78 63 65 70 74 | 20 74 68 61 74 20 63 68 |e except| that ch|
|00000980| 61 72 61 63 74 65 72 73 | 20 64 6f 20 6e 6f 74 20 |aracters| do not |
|00000990| 69 6e 73 65 72 74 20 74 | 68 65 6d 73 65 6c 76 65 |insert t|hemselve|
|000009a0| 73 20 61 6e 64 0a 54 61 | 62 20 61 6e 64 20 4c 69 |s and.Ta|b and Li|
|000009b0| 6e 65 66 65 65 64 20 64 | 6f 20 6e 6f 74 20 69 6e |nefeed d|o not in|
|000009c0| 64 65 6e 74 2e 20 20 49 | 6e 73 74 65 61 64 20 74 |dent. I|nstead t|
|000009d0| 68 65 73 65 20 63 6f 6d | 6d 61 6e 64 73 20 61 72 |hese com|mands ar|
|000009e0| 65 20 70 72 6f 76 69 64 | 65 64 3a 0a 5c 7b 65 6c |e provid|ed:.\{el|
|000009f0| 65 63 74 72 69 63 2d 68 | 69 73 74 6f 72 79 2d 6d |ectric-h|istory-m|
|00000a00| 61 70 7d 0a 0a 43 61 6c | 6c 73 20 74 68 65 20 76 |ap}..Cal|ls the v|
|00000a10| 61 6c 75 65 20 6f 66 20 | 60 65 6c 65 63 74 72 69 |alue of |`electri|
|00000a20| 63 2d 63 6f 6d 6d 61 6e | 64 2d 68 69 73 74 6f 72 |c-comman|d-histor|
|00000a30| 79 2d 68 6f 6f 6b 27 20 | 69 66 20 74 68 61 74 20 |y-hook' |if that |
|00000a40| 69 73 20 6e 6f 6e 2d 6e | 69 6c 2e 0a 54 68 65 20 |is non-n|il..The |
|00000a50| 43 6f 6d 6d 61 6e 64 20 | 48 69 73 74 6f 72 79 20 |Command |History |
|00000a60| 6c 69 73 74 69 6e 67 20 | 69 73 20 72 65 63 6f 6d |listing |is recom|
|00000a70| 70 75 74 65 64 20 65 61 | 63 68 20 74 69 6d 65 20 |puted ea|ch time |
|00000a80| 74 68 69 73 20 6d 6f 64 | 65 20 69 73 20 69 6e 76 |this mod|e is inv|
|00000a90| 6f 6b 65 64 2e 1f 0a 28 | 61 75 74 6f 6c 6f 61 64 |oked...(|autoload|
|00000aa0| 20 27 65 6c 65 63 74 72 | 69 63 2d 63 6f 6d 6d 61 | 'electr|ic-comma|
|00000ab0| 6e 64 2d 68 69 73 74 6f | 72 79 20 22 65 63 68 69 |nd-histo|ry "echi|
|00000ac0| 73 74 6f 72 79 22 20 27 | 28 23 24 20 2e 20 31 38 |story" '|(#$ . 18|
|00000ad0| 36 38 29 20 74 20 6e 69 | 6c 29 0a 23 40 31 31 35 |68) t ni|l).#@115|
|00000ae0| 39 20 50 6f 70 20 75 70 | 20 61 6e 20 22 65 6c 65 |9 Pop up| an "ele|
|00000af0| 63 74 72 69 63 22 20 68 | 65 6c 70 20 62 75 66 66 |ctric" h|elp buff|
|00000b00| 65 72 2e 0a 54 68 65 20 | 61 72 67 75 6d 65 6e 74 |er..The |argument|
|00000b10| 73 20 61 72 65 20 54 48 | 55 4e 4b 20 26 6f 70 74 |s are TH|UNK &opt|
|00000b20| 69 6f 6e 61 6c 20 42 55 | 46 46 45 52 20 4e 4f 45 |ional BU|FFER NOE|
|00000b30| 52 41 53 45 20 4d 49 4e | 48 45 49 47 48 54 2e 0a |RASE MIN|HEIGHT..|
|00000b40| 54 48 55 4e 4b 20 69 73 | 20 61 20 66 75 6e 63 74 |THUNK is| a funct|
|00000b50| 69 6f 6e 20 6f 66 20 6e | 6f 20 61 72 67 75 6d 65 |ion of n|o argume|
|00000b60| 6e 74 73 20 77 68 69 63 | 68 20 69 73 20 63 61 6c |nts whic|h is cal|
|00000b70| 6c 65 64 20 74 6f 20 69 | 6e 69 74 69 61 6c 69 7a |led to i|nitializ|
|00000b80| 65 20 74 68 65 0a 63 6f | 6e 74 65 6e 74 73 20 6f |e the.co|ntents o|
|00000b90| 66 20 42 55 46 46 45 52 | 2e 20 20 42 55 46 46 45 |f BUFFER|. BUFFE|
|00000ba0| 52 20 64 65 66 61 75 6c | 74 73 20 74 6f 20 60 2a |R defaul|ts to `*|
|00000bb0| 48 65 6c 70 2a 27 2e 20 | 20 42 55 46 46 45 52 20 |Help*'. | BUFFER |
|00000bc0| 77 69 6c 6c 20 62 65 0a | 65 72 61 73 65 64 20 62 |will be.|erased b|
|00000bd0| 65 66 6f 72 65 20 54 48 | 55 4e 4b 20 69 73 20 63 |efore TH|UNK is c|
|00000be0| 61 6c 6c 65 64 20 75 6e | 6c 65 73 73 20 4e 4f 45 |alled un|less NOE|
|00000bf0| 52 41 53 45 20 69 73 20 | 6e 6f 6e 2d 6e 69 6c 2e |RASE is |non-nil.|
|00000c00| 20 20 54 48 55 4e 4b 20 | 77 69 6c 6c 0a 62 65 20 | THUNK |will.be |
|00000c10| 63 61 6c 6c 65 64 20 77 | 68 69 6c 65 20 42 55 46 |called w|hile BUF|
|00000c20| 46 45 52 20 69 73 20 63 | 75 72 72 65 6e 74 20 61 |FER is c|urrent a|
|00000c30| 6e 64 20 77 69 74 68 20 | 60 73 74 61 6e 64 61 72 |nd with |`standar|
|00000c40| 64 2d 6f 75 74 70 75 74 | 27 20 62 6f 75 6e 64 20 |d-output|' bound |
|00000c50| 74 6f 0a 74 68 65 20 62 | 75 66 66 65 72 20 73 70 |to.the b|uffer sp|
|00000c60| 65 63 69 66 69 65 64 20 | 62 79 20 42 55 46 46 45 |ecified |by BUFFE|
|00000c70| 52 2e 0a 0a 49 66 20 54 | 48 55 4e 4b 20 72 65 74 |R...If T|HUNK ret|
|00000c80| 75 72 6e 73 20 6e 69 6c | 2c 20 77 65 20 64 69 73 |urns nil|, we dis|
|00000c90| 70 6c 61 79 20 42 55 46 | 46 45 52 20 73 74 61 72 |play BUF|FER star|
|00000ca0| 74 69 6e 67 20 61 74 20 | 74 68 65 20 74 6f 70 2c |ting at |the top,|
|00000cb0| 20 61 6e 64 0a 73 68 72 | 69 6e 6b 20 74 68 65 20 | and.shr|ink the |
|00000cc0| 77 69 6e 64 6f 77 20 74 | 6f 20 66 69 74 2e 20 20 |window t|o fit. |
|00000cd0| 49 66 20 54 48 55 4e 4b | 20 72 65 74 75 72 6e 73 |If THUNK| returns|
|00000ce0| 20 6e 6f 6e 2d 6e 69 6c | 2c 20 77 65 20 64 6f 6e | non-nil|, we don|
|00000cf0| 27 74 20 64 6f 20 74 68 | 6f 73 65 20 74 68 69 6e |'t do th|ose thin|
|00000d00| 67 73 2e 0a 0a 41 66 74 | 65 72 20 54 48 55 4e 4b |gs...Aft|er THUNK|
|00000d10| 20 68 61 73 20 62 65 65 | 6e 20 63 61 6c 6c 65 64 | has bee|n called|
|00000d20| 2c 20 74 68 69 73 20 66 | 75 6e 63 74 69 6f 6e 20 |, this f|unction |
|00000d30| 22 65 6c 65 63 74 72 69 | 63 61 6c 6c 79 22 20 70 |"electri|cally" p|
|00000d40| 6f 70 73 20 75 70 20 61 | 20 77 69 6e 64 6f 77 0a |ops up a| window.|
|00000d50| 69 6e 20 77 68 69 63 68 | 20 42 55 46 46 45 52 20 |in which| BUFFER |
|00000d60| 69 73 20 64 69 73 70 6c | 61 79 65 64 20 61 6e 64 |is displ|ayed and|
|00000d70| 20 61 6c 6c 6f 77 73 20 | 74 68 65 20 75 73 65 72 | allows |the user|
|00000d80| 20 74 6f 20 73 63 72 6f | 6c 6c 20 74 68 72 6f 75 | to scro|ll throu|
|00000d90| 67 68 20 74 68 61 74 20 | 62 75 66 66 65 72 0a 69 |gh that |buffer.i|
|00000da0| 6e 20 65 6c 65 63 74 72 | 69 63 2d 68 65 6c 70 2d |n electr|ic-help-|
|00000db0| 6d 6f 64 65 2e 20 54 68 | 65 20 77 69 6e 64 6f 77 |mode. Th|e window|
|00000dc0| 27 73 20 68 65 69 67 68 | 74 20 77 69 6c 6c 20 62 |'s heigh|t will b|
|00000dd0| 65 20 61 74 20 6c 65 61 | 73 74 20 4d 49 4e 48 45 |e at lea|st MINHE|
|00000de0| 49 47 48 54 20 69 66 0a | 74 68 69 73 20 76 61 6c |IGHT if.|this val|
|00000df0| 75 65 20 69 73 20 6e 6f | 6e 2d 6e 69 6c 2e 0a 0a |ue is no|n-nil...|
|00000e00| 49 66 20 54 48 55 4e 4b | 20 72 65 74 75 72 6e 73 |If THUNK| returns|
|00000e10| 20 6e 69 6c 2c 20 77 65 | 20 64 69 73 70 6c 61 79 | nil, we| display|
|00000e20| 20 42 55 46 46 45 52 20 | 73 74 61 72 74 69 6e 67 | BUFFER |starting|
|00000e30| 20 61 74 20 74 68 65 20 | 74 6f 70 2c 20 61 6e 64 | at the |top, and|
|00000e40| 0a 73 68 72 69 6e 6b 20 | 74 68 65 20 77 69 6e 64 |.shrink |the wind|
|00000e50| 6f 77 20 74 6f 20 66 69 | 74 2e 20 20 49 66 20 54 |ow to fi|t. If T|
|00000e60| 48 55 4e 4b 20 72 65 74 | 75 72 6e 73 20 6e 6f 6e |HUNK ret|urns non|
|00000e70| 2d 6e 69 6c 2c 20 77 65 | 20 64 6f 6e 27 74 20 64 |-nil, we| don't d|
|00000e80| 6f 20 74 68 6f 73 65 0a | 74 68 69 6e 67 73 2e 0a |o those.|things..|
|00000e90| 0a 57 68 65 6e 20 74 68 | 65 20 75 73 65 72 20 65 |.When th|e user e|
|00000ea0| 78 69 74 73 20 28 77 69 | 74 68 20 60 65 6c 65 63 |xits (wi|th `elec|
|00000eb0| 74 72 69 63 2d 68 65 6c | 70 2d 65 78 69 74 27 2c |tric-hel|p-exit',|
|00000ec0| 20 6f 72 20 6f 74 68 65 | 72 77 69 73 65 29 20 74 | or othe|rwise) t|
|00000ed0| 68 65 20 68 65 6c 70 0a | 62 75 66 66 65 72 27 73 |he help.|buffer's|
|00000ee0| 20 77 69 6e 64 6f 77 20 | 64 69 73 61 70 70 65 61 | window |disappea|
|00000ef0| 72 73 20 28 69 2e 65 2e | 2c 20 77 65 20 75 73 65 |rs (i.e.|, we use|
|00000f00| 20 60 73 61 76 65 2d 77 | 69 6e 64 6f 77 2d 65 78 | `save-w|indow-ex|
|00000f10| 63 75 72 73 69 6f 6e 27 | 29 0a 42 55 46 46 45 52 |cursion'|).BUFFER|
|00000f20| 20 69 73 20 70 75 74 20 | 69 6e 74 6f 20 60 64 65 | is put |into `de|
|00000f30| 66 61 75 6c 74 2d 6d 61 | 6a 6f 72 2d 6d 6f 64 65 |fault-ma|jor-mode|
|00000f40| 27 20 28 6f 72 20 60 66 | 75 6e 64 61 6d 65 6e 74 |' (or `f|undament|
|00000f50| 61 6c 2d 6d 6f 64 65 27 | 29 20 77 68 65 6e 20 77 |al-mode'|) when w|
|00000f60| 65 20 65 78 69 74 2e 1f | 0a 28 61 75 74 6f 6c 6f |e exit..|.(autolo|
|00000f70| 61 64 20 27 77 69 74 68 | 2d 65 6c 65 63 74 72 69 |ad 'with|-electri|
|00000f80| 63 2d 68 65 6c 70 20 22 | 65 68 65 6c 70 22 20 27 |c-help "|ehelp" '|
|00000f90| 28 23 24 20 2e 20 32 37 | 38 36 29 20 6e 69 6c 20 |(#$ . 27|86) nil |
|00000fa0| 6e 69 6c 29 0a 28 62 79 | 74 65 2d 63 6f 64 65 20 |nil).(by|te-code |
|00000fb0| 22 c0 c1 c2 c3 89 89 25 | 87 22 20 5b 61 75 74 6f |"......%|." [auto|
|00000fc0| 6c 6f 61 64 20 65 6c 65 | 63 74 72 69 63 2d 68 65 |load ele|ctric-he|
|00000fd0| 6c 70 69 66 79 20 22 65 | 68 65 6c 70 22 20 6e 69 |lpify "e|help" ni|
|00000fe0| 6c 5d 20 36 29 0a 23 40 | 34 36 20 44 65 73 63 72 |l] 6).#@|46 Descr|
|00000ff0| 69 62 65 20 6c 6f 63 61 | 6c 20 6b 65 79 20 62 69 |ibe loca|l key bi|
|00001000| 6e 64 69 6e 67 73 20 6f | 66 20 63 75 72 72 65 6e |ndings o|f curren|
|00001010| 74 20 6d 6f 64 65 2e 1f | 0a 28 61 75 74 6f 6c 6f |t mode..|.(autolo|
|00001020| 61 64 20 27 48 65 6c 70 | 65 72 2d 64 65 73 63 72 |ad 'Help|er-descr|
|00001030| 69 62 65 2d 62 69 6e 64 | 69 6e 67 73 20 22 68 65 |ibe-bind|ings "he|
|00001040| 6c 70 65 72 22 20 27 28 | 23 24 20 2e 20 34 30 37 |lper" '(|#$ . 407|
|00001050| 35 29 20 74 20 6e 69 6c | 29 0a 23 40 33 32 20 50 |5) t nil|).#@32 P|
|00001060| 72 6f 76 69 64 65 20 68 | 65 6c 70 20 66 6f 72 20 |rovide h|elp for |
|00001070| 63 75 72 72 65 6e 74 20 | 6d 6f 64 65 2e 1f 0a 28 |current |mode...(|
|00001080| 61 75 74 6f 6c 6f 61 64 | 20 27 48 65 6c 70 65 72 |autoload| 'Helper|
|00001090| 2d 68 65 6c 70 20 22 68 | 65 6c 70 65 72 22 20 27 |-help "h|elper" '|
|000010a0| 28 23 24 20 2e 20 34 31 | 39 31 29 20 74 20 6e 69 |(#$ . 41|91) t ni|
|000010b0| 6c 29 0a 28 70 72 6f 76 | 69 64 65 20 27 65 6c 65 |l).(prov|ide 'ele|
|000010c0| 63 74 72 69 63 2d 61 75 | 74 6f 6c 6f 61 64 73 29 |ctric-au|toloads)|
|000010d0| 0a | |. | |
+--------+-------------------------+-------------------------+--------+--------+